/* --- RESET & LAYOUT SAFETY --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial";
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  color: #f9f6e5;
  color: #0e1e38; /* Warna Navy Gelap */
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

/* --- NAVBAR --- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 8%;
  z-index: 100;
}

.logo {
  font-family: "karethtrial";
  color: #f9f6e5;
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

nav ul li a {
  font-family: "Flair Display";
  color: #f9f6e5;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

nav ul li a.active,
nav ul li a:hover {
  color: #e6c687;
  opacity: 1;
}

/* --- HERO ABOUT --- */
.hero-about {
  position: relative;
  padding: 13rem 8% 10rem 8%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../Aset/Batik1.jpeg") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* Mengunci konten agar selalu rata kiri */
  text-align: left; /* Memastikan teks tidak bergeser ke tengah */
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1200px;
  margin: 0; /* Dipastikan 0 agar menempel ke kiri, bukan auto */
}

.hero-content h1 {
  font-size: 2.8rem;
  font-family: "karethtrial";
  color: #f9f6e5;
  font-weight: normal;
  margin-bottom: 0.3rem; /* Memperdekat jarak judul dengan breadcrumb sesuai contoh gambar */
  line-height: 1.2;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  word-spacing: 2px;
}

.breadcrumb span {
  color: #e6c687;
}
/* --- WAVES MANAGEMENT --- */
.wave-container {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.wave-container svg {
  display: block;
  width: 100%;
  height: 7.5rem;
}

.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 3;
}

.wave-top svg {
  display: block;
  width: 100%;
  height: 7.5rem;
}

/* --- ABOUT GENERAL LAYOUT (FLEX GRID) --- */
.about-section {
  padding: 6rem 0;
  background-color: #f9f6e5;
}

.flex-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.image-wrapper {
  flex: 1;
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Efek Ombak Khusus pada Gambar Sesuai Konsep */
.wave-image-left img {
  border-radius: 50px 1150px 50px 80px / 40px 140px 30px 150px; /* Bentuk bergelombang asimetris */
}

.wave-image-right img {
  border-radius: 165px 4px 8px 10px / 200px 3px 13px 4px;
}

.text-wrapper {
  flex: 1.3;
}

.text-wrapper h2 {
  font-family: "Flair Display";
  font-size: 2.2rem;
  color: #0d1f3d;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.text-wrapper p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}

/* --- TEKNIK PEMBUATAN SECTION (DARK MOTIF BG) --- */
.teknik-section {
  position: relative;
  padding: 12rem 0;
  background:
    linear-gradient(rgba(40, 20, 10, 0.75), rgba(40, 20, 10, 0.75)),
    url("../Aset/5.jpeg") no-repeat center center/cover;
  color: #f9f6e5;
}

.title-light {
  font-family: "karethtrial";
  color: #f9f6e5;
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 4rem;
  position: relative;
  z-index: 4;
}

.grid-teknik {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  position: relative;
  z-index: 4;
}

.card-teknik {
  width: 11rem;
  text-align: center;
}

/* Lingkaran Gambar yang Dipotong Ombak Lembut Bawahnya */
.img-circle {
  width: 11rem;
  height: 11rem;
  border-radius: 50% 50% 40% 40%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 3px solid #e6c687;
}

.img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-teknik:hover img {
  transform: scale(1.1);
}

.card-teknik h4 {
  font-family: "Flair Display";
  color: #f9f6e5;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #fdf5e6;
}

/* --- THREE ICONS AREA --- */
.features-icons {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 5rem;
}

.icon-item {
  text-align: center;
}

.icon-box {
  width: 5rem;
  height: 5rem;
  background-color: #e6c687;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.icon-item p {
  font-family: "Flair Display";
  font-size: 0.95rem;
  font-weight: bold;
  color: #0d1f3d;
}

/* --- FOOTER --- */
footer {
  position: relative;
  background-color: #0d1f3d;
  color: #fff;
  padding: 9rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-about h3 {
  font-family: "karethtrial";
  color: #f9f6e5;
  font-weight: normal;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #e6c687;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: 0.3s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: #e6c687;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- MEDIA QUERIES (RESPONSIVE & ZOOM SAFETY) --- */
@media (max-width: 992px) {
  header {
    padding: 1.5rem 8%; /* Tetap menjaga padding samping */
    flex-direction: row; /* Menu dan logo tetap bersebelahan, tidak bertumpuk */
    justify-content: space-between;
  }

  .hero-about {
    padding: 11rem 8% 7rem 8%; /* Menyesuaikan padding di layar tablet */
    align-items: flex-start;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 2.2rem; /* Memperkecil sedikit ukuran font agar pas di layar medium */
  }

  .flex-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .invert-mobile {
    flex-direction: column-reverse;
  }

  .text-wrapper {
    text-align: left; /* Mencegah deskripsi artikel berubah jadi rata tengah */
  }

  .wave-container svg,
  .wave-top svg {
    height: 5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1.5rem 5%;
    flex-direction: column; /* Di layar HP sangat kecil, logo dan menu bertumpuk tapi tetap rapi */
    align-items: flex-start; /* Navbar di HP ikut rata kiri sesuai konsep modern */
    gap: 0.8rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: flex-start; /* Menu di HP berjejer ke kiri */
    gap: 1rem;
  }

  nav ul li a {
    font-size: 0.85rem;
  }

  .hero-about {
    padding: 10rem 5% 5rem 5%;
    align-items: flex-start;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 1.8rem; /* Ukuran pas untuk layar handphone tegak */
  }

  .feature-card {
    width: 100%;
    max-width: 100%; /* Kartu mengikuti lebar layar HP */
  }

  .wave-container svg,
  .wave-top svg {
    height: 3.5rem;
  }
}
